import { createApp } from 'vue'
import App from './App.vue'
import Router from './router/index.js'
import 'lib-flexible/flexible'
import 'swiper/css'
import vant from './vant'
import './assets/css/index.css'
import topBar from './components/topBar.vue'
import store from "./store"
// import './utils/rem'
const app = createApp(App)
console.log(vant)
vant.forEach(item => {
    app.use(item)
})
app.component('topBar', topBar)
app.provide('testgloble', 888)
app.use(Router).use(store).mount('#app')

console.log(process.env.NODE_ENV)